package cn.znzz.cjm.user.mapper;

import cn.znzz.cjm.basic.mapper.BaseMapper;
import cn.znzz.cjm.user.domain.User;

/**
 * 定义员工 数据库操作接口
 */
public interface UserMapper extends BaseMapper<User> {
    //手机号查询用户
    User loadByPhone(String phone);

    //根据登录人，查找user
    User loadByLogininfoId(Long id);

    //基本的crud代码被抽取
}










